class Person:
    def work(self):
        print('Person-work')


class Coder(Person):
    def work(self):
        print('Coder-work')


class Tester(Person):
    def work(self):
        print('Tester-work')


class Company:
    def show_work(self, worker):
        worker.work()


company_1 = Company()
p_1 = Person()
coder_1 = Coder()
tester_1 = Tester()

company_1.show_work(p_1)  # Person-work
company_1.show_work(coder_1)  # Coder-work
company_1.show_work(tester_1)  # Tester-work
